﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.BizTalk.TestTools.Pipeline;
using System.Collections.Specialized;

namespace Acme.SalesOnline.Tests.Pipelines
{
    /// <summary>
    /// Tests for the sales online pipeline
    /// </summary>
    [TestClass]
    public class SalesOnlinePipelineTests
    {
        /// <summary>
        /// Tests the pipeline
        /// </summary>
        [TestMethod]
        public void TestPipeline()
        {
            StringCollection documents = new StringCollection();
            documents.Add(@"..\..\..\Acme.SalesOnline.Tests\Pipelines\SalesOnlinePipelineTests_TestPipeline_Input.xml");

            StringCollection parts = new StringCollection();

            Dictionary<string, string> schemas = new Dictionary<string, string>();
            schemas.Add("Claims", @"..\..\..\Acme.BizTalk.Schemas\Claims.xsd");

            TestableSendPipeline pipeline = new Acme.SalesOnline.Pipelines.SalesOnline();
            pipeline.TestPipeline(documents, parts, schemas);
            

        }
    }
}
